<h1>Meetings</h1>

<%= flash_notice %>

<div class="meeting_list">
  <h2>Upcoming Meetings</h2>
  <ul>
    <%= render :partial    => "meeting", 
               :collection => @upcoming_meetings %>
    <%= no_meetings(@upcoming_meetings) %>
  </ul>
  <p class="add"><%= link_to "add meeting", new_meeting_path %></p>
</div>

<div class="meeting_list">
  <h2>Past Meetings</h2>
  <ul>
    <%= render :partial => "meeting", :collection => @past_meetings %>
    <%= no_meetings(@past_meetings) %>
  </ul>
</div>